ExamPlay Light Logo
Log ind

Computer Science for IGCSE & O level - Programming (Section 13 - No. 47)

Which part of the program is executed based on the value of 'answer' in the case statement?
The entire program code.
The code block associated with the matching case.
The program will not run.
The ELSE statement.

Forklaring

The CASE statement directs the program to execute a specific block of code based on the value of the variable being checked.

Kommentarer (0)

Log ind for at kommentere
Reklame
BrainBehindX Inc Logo
©2026; Drevet af BrainBehindX Inc